<%--
  Created by IntelliJ IDEA.
  User: veneno
  Date: 2021/8/2
  Time: 21:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>index</title>
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
<a href="first/page">点击</a><br>
<a href="account/findAccount">findAccount</a><br>
<a href="${pageContext.request.contextPath}/account/findAccount">findAccount</a><br><br><br><br>


<p><a href="account/saveAccount">save Account</a></p>

<p>
    <form action="account/saveAccount" method="post">
    <input type="text" name="accountName" placeholder="账户">
    <input type="text" name="money" placeholder="金额">
    <input type="submit" value="提交">
    <input type="reset" value="重置">

    </form>
</p>

<p>
    <a href="account/findAccountById?accountId=666">根据id查询Account</a>
</p>


<p>
<form action="account/saveAccount" method="post">
    账户名称：<input type="text" name="name" placeholder="金额"><br>
    账户金额：<input type="text" name="money" placeholder="金额"><br>
    账户省份：<input type="text" name="address.provinceName" placeholder="金额"><br>
    账户城市：<input type="text" name="address.cityName" placeholder="金额"><br>
    <input type="submit" value="提交">
    <input type="reset" value="重置">
</form>
</p>



<p style="margin-left: 200px">
<form action="account/saveUsers" method="post">
    用户名称：<input type="text" name="username" placeholder="金额"><br>
    用户密码：<input type="text" name="password" placeholder="金额"><br>
    用户年龄：<input type="text" name="age" placeholder="金额"><br>
    账户1名称：<input type="text" name="accounts[0].name" placeholder="名称"><br>
    账户1金额：<input type="text" name="accounts[0].money" placeholder="金额"><br>
    账户2名称：<input type="text" name="accounts[1].name" placeholder="名称"><br>
    账户2金额：<input type="text" name="accounts[1].money" placeholder="金额"><br>
    账户3名称：<input type="text" name="maps['one'].name" placeholder="名称"><br>
    账户3金额：<input type="text" name="maps['one'].money" placeholder="金额"><br>
    <input type="submit" value="提交">
    <input type="reset" value="重置">
</form>
</p>


<p>
    <a href="account/delAccount?date=2001-08-24">根据日期删除账户</a>
</p>
</body>
</html>
